package VN.EDU.IMIC.DEVELOPER.DOTHANHTUNG.OOP_MVC_LV1.CheckLoginUser;

public class UserModel {
	public boolean ValidateData(User ObjUser){
		if (ObjUser.getUserName().isEmpty() || ObjUser.getPassWord().isEmpty()){
			return false;
		}
		return true;
	}
	
	public boolean ValidateUser(User ObjUser){
		if (ObjUser.getUserName().equals("quatnan") && ObjUser.getPassWord().equals("123456")){
			return true;
		}
		return false;
	}

}
